package com.project_doctor.mapper;

import com.project_doctor.pojo.Team;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author xixif
* @description 针对表【t_team(家庭医生团队表)】的数据库操作Mapper
* @createDate 2025-06-16 14:46:13
* @Entity com.project_doctor.pojo.Team
*/
public interface TeamMapper extends BaseMapper<Team> {
    @Select("SELECT DISTINCT 0 as id, name FROM t_team ORDER BY name")
    List<Team> getAllTeams();
}




